package com.example.entity.DTO;

import lombok.Data;

import java.time.Year;

@Data
public class ClassDetailDTO {
    private Integer id;
    private String name;
    private Year grade;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Year getGrade() {
        return grade;
    }

    public void setGrade(Year grade) {
        this.grade = grade;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    private String majorName;
    private String deptName;
}
